package com.zking.seckillpro.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * ������Ϣ��
 * </p>
 *
 * @author zking
 * @since 2022-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_order")
public class Order implements Serializable {


    /**
     * ����ID
     */
    @TableId(value = "oid", type = IdType.AUTO)
    private Long oid;

    /**
     * �û�ID
     */
    private Long userId;

    /**
     * ��ƷID
     */
    private Long goodsId;

    /**
     * ��Ʒ����
     */
    private String goodsName;

    /**
     * ��Ʒ����
     */
    private Integer goodsCount;

    /**
     * ��Ʒ����
     */
    private BigDecimal goodsPrice;

    /**
     * 1=pc,2=android,3=ios
     */
    private Integer orderChannel;

    /**
     * ����״̬,0=����δ֧��,1=��֧��,2=��ȡ��,3=�ѷ���,4=���˿�,5=�����
     */
    private Integer status;

    /**
     * ��������ʱ��
     */
    private LocalDateTime createDate;

    /**
     * ֧��ʱ��
     */
    private LocalDateTime payDate;


}
